<template>
  <el-drawer title="详情" :visible.sync="$attrs.visableIf" @close="handleCloseDialog" :close-on-click-modal="false" :close-on-press-escape="false" append-to-body size="800px">
    <div class="content-big">
      <div class="item-li">
        <div class="content-li">
          <div class="index">1</div>
          <div class="text">几句话感觉金</div>
        </div>
      </div>
      <div class="item-li">
        <!--              图片-->
        <div class="content-li">
          <div class="index">1</div>
          <div class="images">
            <img src="@/assets/images/profile.jpg"/></div>
        </div>

      </div>
      <div class="item-li">
        <!--              视频-->
        <div class="content-li">
          <div class="index">1</div>
          <div class="images">
            <img src="@/assets/images/profile.jpg"/></div>

        </div>
      </div>
      <!--                文件-->
      <div class="item-li">
        <div class="content-li">
          <div class="index">1</div>
          <div class="file">
            <img src="@/assets/images/profile.jpg" class="fileImg"/>
            <div class="file-right">
              <div class="file-name">OA+商城.docx</div>
              <div class="file-size">132.43 kB</div>
            </div>
          </div>
        </div>
      </div>
      <!--                文件-->
      <div class="item-li">
        <div class="content-li">
          <div class="index">1</div>
          <div class="links">
            <div class="file-right">
              <div class="links-name">百度</div>
              <div class="links-content">百度是一家互联网公司</div>
            </div>
            <img src="@/assets/images/profile.jpg" class="fileImg"/>
          </div>
        </div>
      </div>
    </div>

  </el-drawer>
</template>

<script>


import {listUser} from "@/api/system/user";
import MultipleSelect from "@/views/components/multipleSelect.vue";

export default {
  name: 'viewSendContent',
  components: {
    MultipleSelect
  },
  data() {
    return {

    }
  },
  created() {
  },
  mounted() {
  },
  watch: {},
  methods: {

    handleCloseDialog() {
      this.$emit('update:visableIf', false);
      this.$emit('handleQuery');
    }
  }
}
</script>

<style scoped lang="scss">

.content-li {
  position: relative;
  padding: 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-height: 60px;


  .index {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    background: #ddd;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    margin-right: 10px;
  }

  .text {
    width: fit-content;
    padding: 0px 12px;
    height: 36px;
    font-size: 15px;
    color: #000;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    display: flex;
    align-items: center;
  }

  .qun {
    display: flex;
    align-items: center;

    .open-Btn {
      color: rgba(0, 0, 0, .65);
      font-size: 14px;
      font-variant: tabular-nums;
      line-height: 1.5715;
      list-style: none;
      font-feature-settings: "tnum", "tnum";
      position: relative;
      display: flex;
      align-items: center;
      padding: 8px 15px;
      word-wrap: break-word;
      border-radius: 4px;
      background-color: #fffbe6;
      border: 1px solid #ffe58f;
    }

    .mgt-btn {
      line-height: 1.5715;
      font-weight: 400;
      white-space: nowrap;
      text-align: center;
      box-shadow: unset;
      cursor: pointer;
      transition: all .3s cubic-bezier(.645, .045, .355, 1);
      user-select: none;
      touch-action: manipulation;
      height: 32px;
      padding: 4px 15px;
      font-size: 14px;
      border-radius: 4px;
      color: rgba(0, 0, 0, .65);
      border: 1px solid #e9e9e9;
      background: #fff;
      margin-left: 10px;
    }
  }

  .images {
    display: block;
    max-width: 160px;
    max-height: 160px;
    cursor: pointer;
    border-radius: 5px;

    img {
      width: auto;
      height: auto;
      max-height: 100%;
      max-width: 100%;
      object-fit: cover;
    }
  }

  .file {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    cursor: pointer;
    max-width: 240px;
    padding: 12px;
    height: 76px;
    display: flex;
    align-items: center;

    img {
      width: 40px;
      height: 50px;

    }

    .file-right {
      margin-left: 10px;
      line-height: 20px;

      .file-size {
        margin: 5px 0 0;
        font-size: 12px;
        color: #a1a7b7;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }
    }
  }

  .links {
    display: flex;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 5px;
    cursor: pointer;
    padding: 12px;
    margin-right: 10px;

    .file-right {
      margin-right: 60px;
      line-height: 40px;

    }

    .links-content {
      color: #888;
    }

    img {
      width: 80px;
      height: 80px;
      object-fit: cover;
    }

  }
}
</style>
